package cn.school.basics.dao;

import cn.school.basics.entity.MajorSubject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: lx
 * @date: 2023/12/23 9:55
 * @description:
 */
@Mapper
@Component
public interface MajorSubjectDao extends BaseMapper<MajorSubject> {

    void insertBatch(@Param("majorSubList") List<MajorSubject> majorSubList);

    List<MajorSubject> getClassAllSubj(String classId);
}
